const mongoose = require('mongoose')

mongoose.connect("mongodb://limeichao:xiaomei888@localhost/admin", {useNewUrlParser: true})

const Schema = mongoose.Schema

const db = mongoose.connection;

db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function() {
    console.log('喵喵喵');
});

let kittys = Schema({
    name:String
});
